import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { RouterModule } from '@angular/router';

import { GbSubjectSharedModule } from '../../shared';
import {
    SubjectClazzMySuffixService,
    SubjectClazzMySuffixPopupService,
    SubjectClazzMySuffixComponent,
    SubjectClazzMySuffixDetailComponent,
    SubjectClazzMySuffixDialogComponent,
    SubjectClazzMySuffixPopupComponent,
    SubjectClazzMySuffixDeletePopupComponent,
    SubjectClazzMySuffixDeleteDialogComponent,
    subjectClazzRoute,
    subjectClazzPopupRoute,
    SubjectClazzMySuffixResolvePagingParams,
} from './';

const ENTITY_STATES = [
    ...subjectClazzRoute,
    ...subjectClazzPopupRoute,
];

@NgModule({
    imports: [
        GbSubjectSharedModule,
        RouterModule.forChild(ENTITY_STATES)
    ],
    declarations: [
        SubjectClazzMySuffixComponent,
        SubjectClazzMySuffixDetailComponent,
        SubjectClazzMySuffixDialogComponent,
        SubjectClazzMySuffixDeleteDialogComponent,
        SubjectClazzMySuffixPopupComponent,
        SubjectClazzMySuffixDeletePopupComponent,
    ],
    entryComponents: [
        SubjectClazzMySuffixComponent,
        SubjectClazzMySuffixDialogComponent,
        SubjectClazzMySuffixPopupComponent,
        SubjectClazzMySuffixDeleteDialogComponent,
        SubjectClazzMySuffixDeletePopupComponent,
    ],
    providers: [
        SubjectClazzMySuffixService,
        SubjectClazzMySuffixPopupService,
        SubjectClazzMySuffixResolvePagingParams,
    ],
    schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class GbSubjectSubjectClazzMySuffixModule {}
